package com.rany.day08.demo03;

import java.util.Set;

public class HashSet {
    public static void main(String[] args) {
        Set<String> set = new java.util.HashSet<>();
        set.add("1");
        set.add("2");
        set.add("2");
        System.out.println(set);
        for (String s : set) {
            System.out.print(s);
        }
    }
}
